import { createApp } from "vue";

import App from "./App.vue";

import router from "./router";

import ArcoVueIcon from "@arco-design/web-vue/es/icon";

import "@arco-design/web-vue/dist/arco.css";

import ArcoVue from "@arco-design/web-vue";

import "normalize.css";

import "./assets/global.scss";

import { Message } from "@arco-design/web-vue";

import { createPinia } from "pinia";

import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const app = createApp(App);

const store = createPinia();

store.use(piniaPluginPersistedstate);

Message._context = app._context;

app.use(ArcoVue);

app.use(ArcoVueIcon);

app.use(router);

app.use(store);

app.mount("#app");
